﻿using Model;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace WebApi.Controllers
{
    public class WebHookController : ApiController
    {

        [HttpPost]
        public RespData func([FromBody] dynamic data)
        {
            //JObject Jdata = JObject.FromObject(data);
            RespData res =  Helper.WssMsgHelper.SendPrint(data);
            return res;
        }
    }
}
